package com.itheima.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.time.LocalDate;

/**
 * 工作经历
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("emp_expr")
public class EmpExpr {
    private Integer id; //ID
    @TableField("emp_id")
    private Integer empId; //员工ID
    private LocalDate begin; //开始时间
    private LocalDate end; //结束时间
    private String company; //公司名称
    private String job; //职位
}
